﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using FluentNHibernate;

namespace Mindfor.Web.Data.Mappings
{
	public class MailTemplateTypeMap : ClassMap<MailTemplateType>
	{
		public MailTemplateTypeMap()
		{
			Table("MailTemplateTypes");
			Id(m => m.Id);
			Map(m => m.Name).Length(255).Not.Nullable();
			Map(m => m.ModuleName).Length(255).Not.Nullable();
			Map(m => m.Description);
		}
	}
}
